package com.rm.zeyou.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 后台订单通知表
 * </p>
 *
 * @author YanYang
 * @since 2025-04-19 13:44:39
 */
@Getter
@Setter
@TableName("t_backend_order_notify")
@ApiModel(value = "BackendOrderNotify对象", description = "后台订单通知表")
public class BackendOrderNotify implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("后台订单通知ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("下单用户")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty("下单技师")
    @TableField("technician_name")
    private String technicianName;

    @ApiModelProperty("订单号")
    @TableField("order_no")
    private String orderNo;

    @ApiModelProperty("通知类型（0=来单通知 1=异常通知）")
    @TableField("notify_type")
    private Integer notifyType;

    @ApiModelProperty("读取状态（0=未读 1=已读）")
    @TableField("is_read")
    private Integer isRead;

    @ApiModelProperty("逻辑删除（0=未删除，1=已删除）")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
